import 'package:flutterdemo/generated/json/base/json_convert_content.dart';
import 'package:flutterdemo/generated/json/base/json_field.dart';

class FaceEntity with JsonConvert<FaceEntity> {
	@JSONField(name: "IsSuccess")
	bool isSuccess;
	@JSONField(name: "Msg")
	String msg;
	String errmsg;
	int errcode;
	@JSONField(name: "Data")
	FaceData data;
	@JSONField(name: "Status")
	int status;
	@JSONField(name: "ExecuteMilliseconds")
	String executeMilliseconds;
}

class FaceData with JsonConvert<FaceData> {
	@JSONField(name: "RecordCount")
	int recordCount;
	@JSONField(name: "PageCount")
	int pageCount;
	@JSONField(name: "Records")
	List<FaceDataRecord> records;
}

class FaceDataRecord with JsonConvert<FaceDataRecord> {
	@JSONField(name: "Id")
	int id;
	@JSONField(name: "StaffName")
	String staffName;
	@JSONField(name: "OpenDate")
	String openDate;
	@JSONField(name: "AreaName")
	String areaName;
	@JSONField(name: "OrgName")
	String orgName;
	@JSONField(name: "CommunityName")
	String communityName;
	@JSONField(name: "AccessName")
	String accessName;
	@JSONField(name: "ChannelName")
	String channelName;
	@JSONField(name: "AccessType")
	String accessType;
	@JSONField(name: "OpenPicture")
	String openPicture;
	@JSONField(name: "FacePicture")
	String facePicture;
	@JSONField(name: "IdentityType")
	String identityType;
	@JSONField(name: "PasswayType")
	String passwayType;
}
